package cn.fzhui.factory;

import cn.fzhui.dao.AdminDao;
import cn.fzhui.dao.StudentDao;

/**
 * DAO工厂类别
 */
public class DaoFactory {

    /**
     * 获取AdminDao
     *
     * @return
     */
    public static AdminDao getAdminDao() {
        return new AdminDao();
    }

    /**
     * 获取StudentDao
     *
     * @return
     */
    public static StudentDao getStudentDao() {
        return new StudentDao();
    }

}
